Search found 1049 matches

by stancecoke
Dec 11 2019 5:50am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5
Replies: 583
Views: 47133

Re: Tsdz2 firmware open source adapted to vlcd5

Welcome to the forum! Nice to see you here :D OK, I see, ackmaniacs bugfix overwrites the result of the emtb-calculations. I fixed it at github in another way than you suggested, should do the same, but I'm not sure, if it works. https://github.com/stancecoke/TSDZ2-Smart-EBike-compatible-with-origin...
by stancecoke
Dec 09 2019 3:37pm
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5
Replies: 583
Views: 47133

Re: Tsdz2 firmware open source adapted to vlcd5

I've copied ackmaniacs bugfix for level 3 to my fork of marcoqs vM0.19.C. https://github.com/stancecoke/TSDZ2-Smart-EBike-compatible-with-original-VlCD6-display/commit/349f24ef7c0cace1e3d33bf74c71e8aebe82b93a So download that repo and try if the problem is solved. https://github.com/stancecoke/TSDZ2...
by stancecoke
Dec 05 2019 3:03am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5
Replies: 583
Views: 47133

Re: Tsdz2 firmware open source adapted to vlcd5

if you have any more ideas please let me know In addition to the already mentioned suggestions to avoid floats and divisions, it would need major rewriting of the core duty cycle manipulation and calulation of the target current. -> Speedsensor and PAS processing via interrupts -> Duty Cycle settin...
by stancecoke
Dec 04 2019 4:57am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5
Replies: 583
Views: 47133

Re: Tsdz2 firmware open source adapted to vlcd5

So because of that then your first suggestion at line 685 didn't work. OK, it seems, that the processor runs out of time. We had similar problems in the kunteng project. We replaced floating point arithmetics with integer arithmetics and replaced divisions with right shifts, where ever possible, th...
by stancecoke
Dec 03 2019 9:35am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5
Replies: 583
Views: 47133

Re: Tsdz2 firmware open source adapted to vlcd5

Wow, OK. I just looked at the code, I still don't understand, why casainho doesn't use a PI control for the currents. And the whole code seems to be rewritten in the recent master repo of casainho... It is obvious, that the battery current target is not reset in each loop run in the ebike_app.c. But...
by stancecoke
Dec 03 2019 7:09am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5
Replies: 583
Views: 47133

Re: Tsdz2 firmware open source adapted to vlcd5

famichiki wrote:
Dec 03 2019 4:32am
the overrun will continue
Can you explain the fault again, please. What happens when? Is the behaviour reproducible?

regards
stancecoke
by stancecoke
Nov 28 2019 5:25am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5
Replies: 583
Views: 47133

Re: Tsdz2 firmware open source adapted to vlcd5

zappan wrote:
Nov 28 2019 5:15am
I just broke the news.
I know, but you are the "voice" of Mbrusa in this forum. I'm not active in the italian forum, perhaps you can give him a hint :wink:

Regards
stancecoke
by stancecoke
Nov 28 2019 3:57am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5
Replies: 583
Views: 47133

Re: Tsdz2 firmware open source adapted to vlcd5

http://www.jobike.it/Public/data/mbrusa/20191126123735_modifica_mbrusa_XH18_VLCD5_6_TSDZ2_Controller_vM0.19.C_and_TSDZ2_Configurator_0.3.7.zip Why the hell you don't use github for publishing stable versions?! All users have to search all over the internet to find .zip files. Nobody knows which ver...
by stancecoke
Nov 28 2019 3:51am
Forum: Motor Technology
Topic: BT Interface for TSDZ2 Open Source firmware - Work in progress
Replies: 13
Views: 886

Re: BT Interface for TSDZ2 Open Source firmware - Work in progress

Do you plan to write a tutorial how to use your ESP32 and app? e.g. in the wiki page of your github repo?
https://github.com/TSDZ-ESP32/ESP32_TSDZ2/wiki

regards
stancecoke
by stancecoke
Nov 26 2019 5:00am
Forum: Motor Technology
Topic: BT Interface for TSDZ2 Open Source firmware - Work in progress
Replies: 13
Views: 886

Re: BT Interface for TSDZ2 Open Source firmware - Work in progress

Really cool! :-)

Do you have to change some optionbyte settings, or will the UART bootloader work from the default settings of the stock firmware for flashing?

regards
stancecoke
by stancecoke
Nov 22 2019 1:25pm
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3728
Views: 282896

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

If I want more power Do you want more torque uphill or more max speed? Higher voltage only helps for max speed. For more torque, you need more phase current. A 12Fet Controller would be better in this case. soldered directly to the correct location on the controller to flash the fimware The control...
by stancecoke
Nov 22 2019 4:07am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3728
Views: 282896

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

With a blocked motor, the phase current limitation will be active. You could check the control state, to be sure. Use the brake of the bike to keep the speed at e.g. 10 km/h with full throttle, then you will see full amps. If not, you have to check your throttle settings throttle_min and throttle_ma...
by stancecoke
Nov 19 2019 8:13am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3728
Views: 282896

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

what to adjust from the firmware? Just set the under-/ overvoltage limits in the java tool according to your needs, see the wiki: Undervoltage: Undervoltage cutoff value. Calculation: Value in volts times (256/Battery Voltage Calibration). example: 34.3V * (256/70) = 125 Overvoltage: Overvoltage cu...
by stancecoke
Nov 18 2019 8:02am
Forum: Motor Technology
Topic: BT Interface for TSDZ2 Open Source firmware - Work in progress
Replies: 13
Views: 886

Re: BT Interface for TSDZ2 Open Source firmware - Work in progress

OK, I see. For the VLCD5 you can use Marcoqs adaption also. But for BT-connection, you need something additional, of course. In the Kunteng-project, Xnyle uses the modbus protocol for the communication with the mobile app. https://github.com/stancecoke/BMSBattery_S_controllers_firmware/blob/Master/B...
by stancecoke
Nov 18 2019 5:59am
Forum: Motor Technology
Topic: BT Interface for TSDZ2 Open Source firmware - Work in progress
Replies: 13
Views: 886

Re: BT Interface for TSDZ2 Open Source firmware - Work in progress

mspider65 wrote:
Nov 17 2019 11:02am
protocol conversion
So you don't use casinhos data protocol to commuicate with the app?! Why?

regards
stancecoke
by stancecoke
Nov 17 2019 10:20am
Forum: Motor Technology
Topic: BT Interface for TSDZ2 Open Source firmware - Work in progress
Replies: 13
Views: 886

Re: BT Interface for TSDZ2 Open Source firmware - Work in progress

Great! Cool work! :thumb:

This stops the messing around with just three buttons of a display to adjust all the parameters!
Are you using BLE or "normal" BT for communication? Why don't you use a simple HC-05/06 or HM-10 BT-module?

regards
stancecoke
by stancecoke
Nov 17 2019 10:13am
Forum: E-Bike Non-hub Motor Drives
Topic: New Torque sensing mid drive
Replies: 18
Views: 1379

Re: New Torque sensing mid drive

hm, this is only bla bla... no objective technical information :wink:

regards
stancecoke
by stancecoke
Nov 17 2019 6:35am
Forum: E-Bike Non-hub Motor Drives
Topic: New Torque sensing mid drive
Replies: 18
Views: 1379

Re: New Torque sensing mid drive

I hope Shengyi has improved it's torque sensing system by now.
The sensor in older Shengyi middrives was really poor.



Image

regards
stancecoke
by stancecoke
Nov 16 2019 8:43am
Forum: Motor Technology
Topic: KT motor controllers -- Flexible OpenSource firmware for BMSBattery S/Kunteng KT motor controllers (0.25kW up to 5kW)
Replies: 3728
Views: 282896

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

could I remove the phase b current sensor to solve the fork judder The current sensor has no influence on the resonance issue... How to properly test and measure the correct phase current/battery current ratio The phase current limit is only needed during the very first milliseconds at startup (or ...
by stancecoke
Nov 11 2019 10:44am
Forum: Motor Technology
Topic: KT controller on 15s, strange thinks happend.
Replies: 6
Views: 339

Re: KT controller on 15s, strange thinks happend.

Can you check the voltages behind the LM317 and the CJ78L05 voltage regulators.

https://opensourceebikefirmware.bitbuck ... ematic.pdf

regards
stancecoke
by stancecoke
Nov 08 2019 9:39am
Forum: Motor Technology
Topic: KT controller on 15s, strange thinks happend.
Replies: 6
Views: 339

Re: KT controller on 15s, strange thinks happend.

Seems to be a hallsensor problem.
two phases on same level and one at a different assumes Block commutation. Normal for Startup.
Try to swap two hall wires.

regards
stancecoke
by stancecoke
Nov 08 2019 7:52am
Forum: Motor Technology
Topic: KT controller on 15s, strange thinks happend.
Replies: 6
Views: 339

Re: KT controller on 15s, strange thinks happend.

Do you use a direct drive motor? It is well known, that the mosfets die with stock firmware, if you do regen with a nearly fully charged battery. If the BMS of the battery cuts the connection to the controller due to overvoltage protection during regen,you get very high voltage peaks on controller s...
by stancecoke
Nov 05 2019 2:51am
Forum: E-Bike Non-hub Motor Drives
Topic: New "Lingbei MM28.250 torque sensor mid drive"
Replies: 368
Views: 49615

Re: New "Lingbei MM28.250 torque sensor mid drive"

This doesn't seem to be a reliable system. Broken springs, displaced magnets....
A good idea, but badly implemented.
Has anyone a proper working system? :-)

regards
stancecoke
by stancecoke
Oct 27 2019 12:45pm
Forum: E-Bike Non-hub Motor Drives
Topic: New "Lingbei MM28.250 torque sensor mid drive"
Replies: 368
Views: 49615

Re: New "Lingbei MM28.250 torque sensor mid drive"

Is it possible to replace the STM32F031C6T6 of the lingbei controller with an STM32F103C8T6? Why a "STM32F031C6T6"? In the beginning of this thread a "STM32F101C6T6" is mentioned?! https://endless-sphere.com/forums/viewtopic.php?f=28&t=94220#p1382795 But all three share the same pinout. The STM32F0...
by stancecoke
Oct 25 2019 6:52am
Forum: Motor Technology
Topic: Tsdz2 firmware open source adapted to vlcd5
Replies: 583
Views: 47133

Re: Tsdz2 firmware open source adapted to vlcd5

I've added the download-link to ackmaniacs fork to the wiki:
https://github.com/stancecoke/TSDZ2-Sma ... splay/wiki

regards
stancecoke