New "TSDZ2 Torque Sensor Central Motor"

Discussions related to motors other than hub motors.
This includes R/C motors, botttom bracket, roller and geared drives.
casainho   1 GW

1 GW
Posts: 3361
Joined: Feb 14 2011 2:43pm

Re: New "TSDZ2 Torque Sensor Central Motor"

Post by casainho » Sep 02 2018 3:02am

andrea_104kg wrote:
Sep 01 2018 3:06pm
Ok, i will try... today i have flashed the lcd3, and it's a success! (v 0.7)
next week i wil try to flash the controller (i have a 36v battery)
the firmware it's the same for 36/48v battery? (only configuration on lcd?)
What's the max factor for "assist level factor" ? It's a percentage?
Yes, you must configure on LCD3 only.
Assist level is just a factor.
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.

casainho   1 GW

1 GW
Posts: 3361
Joined: Feb 14 2011 2:43pm

Re: New "TSDZ2 Torque Sensor Central Motor"

Post by casainho » Sep 03 2018 11:39am

I finally developed the BOOST at initial motor startup, by increasing pedal torque sensitivity at startup. Also now it fades out to the regular power (fades out to a lower or higher value). I am very happy with the result!!

This new development is included on the release V0.8: https://github.com/OpenSource-EBike-fir ... _wiki/wiki

Code: Select all

4: startup power boost: boost the initial motor startup, by increasing pedal torque sensitivity at startup
 0: config: default value: 1. 0 to enable power boost only when startup and bicycle wheel = 0; 1 every time pedal cadence or torque sensor are zero.
 1: limit boost power to max battery power value: default value: 0. 1 to enable power boost limit to the Max battery power value.
 2: boost time: default value = 25 (2.5 seconds). 0 to disable startup power boost feature.
 3: boost fade out time: default value = 25 (2.5 seconds). Fade out from boost power to regular power.
 4: assist level boost power: this is the boost power (for assist level 1) in watts. Note that this value is not limited by the Max battery power screen value, it is although limited by the battery max current value.
 x: assist level boost power: this is the boost power for assist level x -- same as the previous and repeats for the next assist level.
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
jbalat   10 kW

10 kW
Posts: 555
Joined: Nov 10 2012 11:50pm
Location: Melbourne, Australia

Re: New "TSDZ2 Torque Sensor Central Motor"

Post by jbalat » Sep 03 2018 6:59pm

Hey guys for those of you who are holding back or just want to know a bit more about the firmware please see my review at the link below
Please subscribe to my Youtube home page for Quadcopters, FPV and Bike Rides http://www.youtube.com/jbalatutube
My build log here http://endless-sphere.com/forums/viewto ... =6&t=55352
For some cool ebike talk join us on The Best ebike https://www.facebook.com/groups/193581737807033/
Tech talk TSDZ2 Opensource firmware https://endless-sphere.com/forums/viewt ... &start=150
Opensource TSDZ2 Wiki https://github.com/OpenSource-EBike-fir ... _wiki/wiki

casainho   1 GW

1 GW
Posts: 3361
Joined: Feb 14 2011 2:43pm

Re: New "TSDZ2 Torque Sensor Central Motor"

Post by casainho » Sep 03 2018 11:49pm

jbalat wrote:
Sep 03 2018 6:59pm
Hey guys for those of you who are holding back or just want to know a bit more about the firmware please see my review at the link below
MANY THANKS!! I just linked to your video on wiki home page: https://github.com/OpenSource-EBike-fir ... _wiki/wiki

What a nice weather outside :-)
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.

Karolwi   10 µW

10 µW
Posts: 5
Joined: Sep 04 2018 8:20am

Re: New "TSDZ2 Torque Sensor Central Motor"

Post by Karolwi » Sep 04 2018 8:30am

Hi.
I am looking for the original firmware (.hex) TSDZ2 engine for the VLCD5 display with trottle, because I lost the copy of the original by uploading it "Open ... flexible .." which works only with KT-LCD3 and my engine can not be started.

20-20   1 mW

1 mW
Posts: 16
Joined: Dec 16 2017 7:35pm

Re: New "TSDZ2 Torque Sensor Central Motor"

Post by 20-20 » Sep 04 2018 9:53am

The work you've done with the open source firmware is truly impressive! I'm planning to fit a 36v TSDZ2 to my wife's bike. For safety's sake I think it's wise to fit brake cut-off switches. AFAIK the standard TSDZ2 display has sockets for the appropriate brake levers. Is anyone using brake cut-offs with the KT-LCD3 display and open source firmware? I've checked the wiki FAQ... there's a section about brakes but the link to additional info about the brake mod isn't working.

casainho   1 GW

1 GW
Posts: 3361
Joined: Feb 14 2011 2:43pm

Re: New "TSDZ2 Torque Sensor Central Motor"

Post by casainho » Sep 04 2018 11:50am

20-20 wrote:
Sep 04 2018 9:53am
The work you've done with the open source firmware is truly impressive! I'm planning to fit a 36v TSDZ2 to my wife's bike. For safety's sake I think it's wise to fit brake cut-off switches. AFAIK the standard TSDZ2 display has sockets for the appropriate brake levers. Is anyone using brake cut-offs with the KT-LCD3 display and open source firmware? I've checked the wiki FAQ... there's a section about brakes but the link to additional info about the brake mod isn't working.
I created now a dedicated page just for how to install the brake sensors: https://github.com/OpenSource-EBike-fir ... ke-sensors
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.

20-20   1 mW

1 mW
Posts: 16
Joined: Dec 16 2017 7:35pm

Re: New "TSDZ2 Torque Sensor Central Motor"

Post by 20-20 » Sep 04 2018 12:07pm

casainho wrote:
Sep 04 2018 11:50am
I created now a dedicated page just for how to install the brake sensors: https://github.com/OpenSource-EBike-fir ... ke-sensors
Thanks!

casainho   1 GW

1 GW
Posts: 3361
Joined: Feb 14 2011 2:43pm

Re: New "TSDZ2 Torque Sensor Central Motor"

Post by casainho » Sep 04 2018 12:18pm

Karolwi wrote:
Sep 04 2018 8:30am
Hi.
I am looking for the original firmware (.hex) TSDZ2 engine for the VLCD5 display with trottle, because I lost the copy of the original by uploading it "Open ... flexible .." which works only with KT-LCD3 and my engine can not be started.
Here (I hope): https://github.com/OpenSource-EBike-fir ... d_improved
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.

Karolwi   10 µW

10 µW
Posts: 5
Joined: Sep 04 2018 8:20am

Re: New "TSDZ2 Torque Sensor Central Motor"

Post by Karolwi » Sep 04 2018 3:19pm

Thank you casainho for the answer but ".bin" files I tried to convert to "ihex" in different ways but without result, when trying to upload such converted, there was an error, so I'm looking for a proven and after conversion to the "ihex" or "s19" format
And one more thing, two months ago you uploaded files in the ".hex" format but when I read the programmed STM8, I got errors, maybe because the "ST-Link V2" cables were 18cm long?

Kisazul   1 W

1 W
Posts: 53
Joined: Jun 18 2018 10:32pm

Re: New "TSDZ2 Torque Sensor Central Motor"

Post by Kisazul » Sep 04 2018 6:23pm

Karolwi wrote:
Sep 04 2018 8:30am
Hi.
I am looking for the original firmware (.hex) TSDZ2 engine for the VLCD5 display with trottle, because I lost the copy of the original by uploading it "Open ... flexible .." which works only with KT-LCD3 and my engine can not be started.
Hi. Do u need 36 or 48 volt hex?

Karolwi   10 µW

10 µW
Posts: 5
Joined: Sep 04 2018 8:20am

Re: New "TSDZ2 Torque Sensor Central Motor"

Post by Karolwi » Sep 05 2018 7:25am

Kisazul wrote:
Sep 04 2018 6:23pm
...Hi. Do u need 36 or 48 volt hex?
36volt

casainho   1 GW

1 GW
Posts: 3361
Joined: Feb 14 2011 2:43pm

Re: New "TSDZ2 Torque Sensor Central Motor"

Post by casainho » Sep 05 2018 12:29pm

Did a release of V0.9 where as far as I could test, lights are now working.

Go and install the new version: https://github.com/OpenSource-EBike-fir ... _wiki/wiki
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.

Karolwi   10 µW

10 µW
Posts: 5
Joined: Sep 04 2018 8:20am

Re: New "TSDZ2 Torque Sensor Central Motor"

Post by Karolwi » Sep 05 2018 5:43pm

After loading "TSDZ2 Flexible Open Source firmware-v0.9" Error: Verify failed at address 0x4000
Error: <DATA MEMORY verifying failed.
I do not know how to change it

Kisazul   1 W

1 W
Posts: 53
Joined: Jun 18 2018 10:32pm

Re: New "TSDZ2 Torque Sensor Central Motor"

Post by Kisazul » Sep 06 2018 12:07am

Karolwi wrote:
Sep 05 2018 7:25am
Kisazul wrote:
Sep 04 2018 6:23pm
...Hi. Do u need 36 or 48 volt hex?
36volt
use it:
unpack the archive, there are 3 files:

PM - program memory
DM - data memory
OB - option bite
Attachments
TSDZ2_36v500w_damp.7z
(10.67 KiB) Downloaded 82 times

andrea_104kg   100 W

100 W
Posts: 100
Joined: Mar 05 2018 5:51pm

Re: New "TSDZ2 Torque Sensor Central Motor"

Post by andrea_104kg » Sep 06 2018 5:44am

I installed the firmware v. 07 but the result is very very bad.
The engine is constantly on and off, the engine is tearing.
Every two turns of pedal only one is with assistance of the engine.
Unfortunately, so much effort for nothing :( :(

casainho   1 GW

1 GW
Posts: 3361
Joined: Feb 14 2011 2:43pm

Re: New "TSDZ2 Torque Sensor Central Motor"

Post by casainho » Sep 06 2018 6:17am

andrea_104kg wrote:
Sep 06 2018 5:44am
Every two turns of pedal only one is with assistance of the engine.
Try to enable motor assistance startup without pedal rotation, to see if there is any issue specific with your TSDZ2: https://github.com/OpenSource-EBike-fir ... -firmwares

Code: Select all

5: various
 1: motor assistance startup without pedal rotation: default value: 0 (disabled). 1 to enable this feature. Recommended to keep at 0 value if you don't have brake sensors installed.
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.

Karolwi   10 µW

10 µW
Posts: 5
Joined: Sep 04 2018 8:20am

Re: New "TSDZ2 Torque Sensor Central Motor"

Post by Karolwi » Sep 06 2018 1:02pm

Thank you very much Kisazul for the firmware, the TSDZ2 engine works and I am very happy.

casainho   1 GW

1 GW
Posts: 3361
Joined: Feb 14 2011 2:43pm

Re: New "TSDZ2 Torque Sensor Central Motor"

Post by casainho » Sep 07 2018 8:35am

How to install TSDZ2 motor temperature sensor to avoid permanent damage/loss of torque

I installed the LM35 temperature sensor and developed the firmware to show the value on LCD3. After the first ride of 15 minutes, running at max of about 10 amps, I started at 27 degrees Celsius and finished at 85 degrees -- I wish to control my motor to not get more than 85 degrees, so clearly It is easy to get the motor over temperature!! Next I will implement the reducing of motor current linearly when temperate starts to rise after a certain value and stop after a max value.

I wrote a wiki page with notes about how to install the temperature sensor: https://github.com/OpenSource-EBike-fir ... ure-sensor

Image

Image

The sensor:

Image

And glued on the motor:

Image
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.

spiked   1 mW

1 mW
Posts: 15
Joined: Sep 07 2018 10:20am

Re: New "TSDZ2 Torque Sensor Central Motor"

Post by spiked » Sep 07 2018 10:35am

Is this high temperature something we need to worry about? Did you drive the motor really hard to get it this hot, or was this just a routine ride? What battery was used?

I've got a 48v 750w TSDZ2 on order, along with an LCD3 with the intention of using your open source firmware, and am looking forward to getting it up and running.

But I'm concerned if overheating will be a problem. Is there a config I can use that will prevent it from running that hot? I'd like to have the throttle for occasional hill boost, so wouldn't really want to lose it just to get a temp readout, and max-temp limiting.

The bike will be used on the road, with occasional hills to 6%. Was hoping to average low 20mphs, with a 52v 13 or 17ah battery. Will this be enough to cause the high temps you experienced?

And thanks in advance for all your work on this!

AZUR   10 W

10 W
Posts: 95
Joined: Apr 05 2018 6:52am

Re: New "TSDZ2 Torque Sensor Central Motor"

Post by AZUR » Sep 07 2018 10:53am

casainho wrote:
Sep 07 2018 8:35am
How to install TSDZ2 motor temperature sensor to avoid permanent damage/loss of torque

I installed the LM35 temperature sensor and developed the firmware to show the value on LCD3. After the first ride of 15 minutes, running at max of about 10 amps, I started at 27 degrees Celsius and finished at 85 degrees -- I wish to control my motor to not get more than 85 degrees, so clearly It is easy to get the motor over temperature!! Next I will implement the reducing of motor current linearly when temperate starts to rise after a certain value and stop after a max value.

I wrote a wiki page with notes about how to install the temperature sensor: https://github.com/OpenSource-EBike-fir ... ure-sensor

Image

Image

The sensor:

Image

And glued on the motor:

Image
Good work. Thanks

Azur

casainho   1 GW

1 GW
Posts: 3361
Joined: Feb 14 2011 2:43pm

Re: New "TSDZ2 Torque Sensor Central Motor"

Post by casainho » Sep 07 2018 11:23am

spiked wrote:
Sep 07 2018 10:35am
Is this high temperature something we need to worry about?
Sure it is!! I hope you did read the wiki link I post that says:

The Curie temperature of high-grade Neodymium (with added terbium and dysprosium) is 320C / 600F. However, common neo magnets are made from the cheapest grade, and can start to lose some of their magnetism at around 80C (170F).

E-bike motor magnets are a grade that is slightly higher than the cheapest variety, because they are often subjected to higher temps than they should be by unsuspecting customers. Years of posted experiments by real E-bikers on endless-sphere have produced a commonly held rule-of-thumb to avoid heating your E-bike motor to above 95C (200F).

In: https://www.electricbike.com/motor-tech ... rms-part-1

spiked wrote:
Sep 07 2018 10:35am
Did you drive the motor really hard to get it this hot, or was this just a routine ride? What battery was used?
I did not ride hard and was a routine ride, I was at max of 500W (about 10 amps) at some peaks. As you can see on LCD, I used 61 Watts/hour is 15 minutes so at power average of 61 *4 = 244 watts (half of that max of 50W).

At 85 degrees of the motor, outside I could touch with my hand and see it was very hot but clearly I already did touch my motor from the outside more hot than that. It is easy, the same ride I did of 15 minutes, I usually do the same type of ride but for about 60 minutes - 4 times more!!

But I hope other users can replicate my experience and so we can get more data and validate all this.
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.

lunarsteve99   1 µW

1 µW
Posts: 1
Joined: Sep 07 2018 12:04pm

Re: New "TSDZ2 Torque Sensor Central Motor"

Post by lunarsteve99 » Sep 07 2018 12:07pm

My apologies if this has already been asked/answered. I looked through a few pages and couldn't find a straightforward answer.

With this new firmware, what kinds of speeds is this motor/controller capable of safely sustaining? I know a lot of factors are involved, but let's say a 160lb rider on flat ground, riding a hybrid/road bike. Is it reasonable to guess that 40km/h is sustainable without overheating?

andrea_104kg   100 W

100 W
Posts: 100
Joined: Mar 05 2018 5:51pm

Re: New "TSDZ2 Torque Sensor Central Motor"

Post by andrea_104kg » Sep 07 2018 3:25pm

No, the only motor to do this it's bbshd and i think bbs02 750w.

User avatar
jbalat   10 kW

10 kW
Posts: 555
Joined: Nov 10 2012 11:50pm
Location: Melbourne, Australia

Re: New "TSDZ2 Torque Sensor Central Motor"

Post by jbalat » Sep 07 2018 5:16pm

Hi Casainho, this is the feature I’ve been waiting for (besides walk mode)
Firstly for my 6 pin controller do you have a better picture which can help me find the throttle wires. Or will it be obvious ?

Secondly I assume we can switch between temperature and % watt hours used, if so can you also display the degC icon so we know which mode we are in.

Third have you been able to verify that 27deg and 85deg with a normal temperature gauge so that we know the scaling is accurate ?

GREAT WORK MAN !!
Please subscribe to my Youtube home page for Quadcopters, FPV and Bike Rides http://www.youtube.com/jbalatutube
My build log here http://endless-sphere.com/forums/viewto ... =6&t=55352
For some cool ebike talk join us on The Best ebike https://www.facebook.com/groups/193581737807033/
Tech talk TSDZ2 Opensource firmware https://endless-sphere.com/forums/viewt ... &start=150
Opensource TSDZ2 Wiki https://github.com/OpenSource-EBike-fir ... _wiki/wiki

Post Reply