TSDZ2 OSF for all displays, VLCD5-VLCD6-XH18, LCD3, 860C-850C-SW102.

Electric Motors and Controllers
Post Reply
mbrusa   1 kW

1 kW
Posts: 314
Joined: Dec 11 2019 12:13am

TSDZ2 OSF for all displays, VLCD5-VLCD6-XH18, LCD3, 860C-850C-SW102.

Post by mbrusa » Mar 01 2021 7:23am

I start this new thread to share the new versions of TSDZ2 OSF.
In common they all have the same base firmware, v7 of mspider65 which derives from 20beta1, to which I have added other changes.

The most important news are:
Field weakening function that allows you to pedal at high cadence. Optimizations to the motor control, the torque sensor and the cadence sensor (from mspider65 - v7).
I added in "Power assist" mode, a very effective boost function, with only two parameters it is possible to modify the response curve of the assistance. Makes "Power assist" mode suitable for all uses.
I also added a new "Hybrid assist" mode, it is a combination of "Torque assist" and "Power assist" modes.
The result is excellent low cadence assistance typical of Torque mode and the extension of Power mode to high cadence.
For a complete list of new features, please read the changelog.txt files and manuals.

Version for VLCD5-VLCD6-XH18 with Java configurator:
https://github.com/emmebrusa/TSDZ2-Smar ... VLCD6-XH18

Version for KT-LCD3:
https://github.com/emmebrusa/TSDZ2-Smar ... 20.1C-LCD3

Version for 860C-850C color display and SW102:
https://github.com/emmebrusa/TSDZ2-Smar ... 20.1C-860C

English manuals are translated with Google translate, if someone of good will wants to check and improve them there are editable odf files. Thank you.

Have a good time
Last edited by mbrusa on Mar 15 2021 9:13am, edited 2 times in total.

HughF   100 W

100 W
Posts: 254
Joined: Jan 23 2020 6:13pm
Location: Dorset, England

Re: TSDZ2 OSF for all displays, VLCD5-VLCD6-XH18, LCD3, 860C.

Post by HughF » Mar 01 2021 7:25am

Wow, great work... Does this version switch from torque mode to power mode above a certain cadence?

Does it support sw102 also?
Genesis iOiD Alfine8 Hard tail MTB, 36v TSDZ2, 13s battery, SW102 display
Raleigh reynolds road frame from the 80's, 36v TSDZ2, 13s battery, SW102 display, 1x10 drivetrain, gravel tyres

mbrusa   1 kW

1 kW
Posts: 314
Joined: Dec 11 2019 12:13am

Re: TSDZ2 OSF for all displays, VLCD5-VLCD6-XH18, LCD3, 860C.

Post by mbrusa » Mar 01 2021 7:44am

With SW102 does not complete the compilation, not having the display to test, I have not investigated the problem.
Maybe someone who has SW102 and is able to compile can try.

mbrusa   1 kW

1 kW
Posts: 314
Joined: Dec 11 2019 12:13am

Re: TSDZ2 OSF for all displays, VLCD5-VLCD6-XH18, LCD3, 860C.

Post by mbrusa » Mar 01 2021 7:55am

HughF wrote:
Mar 01 2021 7:25am
Wow, great work... Does this version switch from torque mode to power mode above a certain cadence?
It is like this in "Hybrid assist" mode, but for me "Power assist" mode is better by enabling "Startup boost", much better. Then you choose your preferred mode.

HughF   100 W

100 W
Posts: 254
Joined: Jan 23 2020 6:13pm
Location: Dorset, England

Re: TSDZ2 OSF for all displays, VLCD5-VLCD6-XH18, LCD3, 860C.

Post by HughF » Mar 01 2021 8:18am

I'm currently running the latest 1.1.1 from Casainho with SW102 displays, on two bicycles - I will try this firmware and swap back to a standard display, to see how it is different. I like to also use a long startup boost, assist without pedal rotation and power mode - it seems to give a good performace off the line. However, I was just wondering how a switch from Torque to Power would feel, I understand that the commercial motors work this way.
Genesis iOiD Alfine8 Hard tail MTB, 36v TSDZ2, 13s battery, SW102 display
Raleigh reynolds road frame from the 80's, 36v TSDZ2, 13s battery, SW102 display, 1x10 drivetrain, gravel tyres

mctubster   1 kW

1 kW
Posts: 301
Joined: Feb 26 2018 6:21am

Re: TSDZ2 OSF for all displays, VLCD5-VLCD6-XH18, LCD3, 860C.

Post by mctubster » Mar 01 2021 6:39pm

Fantastic news! EMTB mode on Buba’s .20 was great. Almost like a torque start and then fade to power mode. Really miss it. If there is better motor responsiveness as well - the icing on the cake.

HughF   100 W

100 W
Posts: 254
Joined: Jan 23 2020 6:13pm
Location: Dorset, England

Re: TSDZ2 OSF for all displays, VLCD5-VLCD6-XH18, LCD3, 860C.

Post by HughF » Mar 02 2021 9:29am

I'm going to dust out a VLCD6 (or was it a VLCD5, I can't remember) and try this...
Genesis iOiD Alfine8 Hard tail MTB, 36v TSDZ2, 13s battery, SW102 display
Raleigh reynolds road frame from the 80's, 36v TSDZ2, 13s battery, SW102 display, 1x10 drivetrain, gravel tyres

Waynemarlow   10 kW

10 kW
Posts: 620
Joined: Jul 09 2016 7:22am
Location: Bucks, England

Re: TSDZ2 OSF for all displays, VLCD5-VLCD6-XH18, LCD3, 860C.

Post by Waynemarlow » Mar 02 2021 10:07am

mctubster wrote:
Mar 01 2021 6:39pm
Fantastic news! EMTB mode on Buba’s .20 was great. Almost like a torque start and then fade to power mode. Really miss it. If there is better motor responsiveness as well - the icing on the cake.
Even better MBrusa has now made the number of Emtb levels, the same as the number of levels across all the modes, with each level set to your requirements. You can change now between all 5 modes from the keypad.

The "Boost" setting also now gets over the ramp up problem and lets you start off on hills with as much boost as you want up to the point of shredding the blue gear of course. I would suggest take it easy on the settings for that as I have found that it does have other drawbacks such as knocking a peddle whilst lifting the bike and you get a small motor input which turns the wheels momentarily.

User avatar
Alfie   100 mW

100 mW
Posts: 46
Joined: Nov 18 2020 6:47am
Location: Yorkshire, UK

Re: TSDZ2 OSF for all displays, VLCD5-VLCD6-XH18, LCD3, 860C.

Post by Alfie » Mar 02 2021 11:17am

Wow, this looks great. The low cadence performance on my 860c setup is far from ideal. Can't wait for the weekend to give it a go.

Anyone running it yet? What are your thoughts?
Whyte T129 TSDZ2

mbrusa   1 kW

1 kW
Posts: 314
Joined: Dec 11 2019 12:13am

Re: TSDZ2 OSF for all displays, VLCD5-VLCD6-XH18, LCD3, 860C.

Post by mbrusa » Mar 02 2021 1:01pm

Waynemarlow wrote:
Mar 02 2021 10:07am
...
I would suggest take it easy on the settings for that as I have found that it does have other drawbacks such as knocking a peddle whilst lifting the bike and you get a small motor input which turns the wheels momentarily.
Hi Wayne, there is a "Min current ADC step" function (copied from v1.1.0), which combined with "Startup boost" and "Startup assist without pedal rotation", make the starting response really immediate.
Unfortunately there is this side effect, a minimum movement of the pedal is enough to start the engine.
If this inconvenience bothers you, just set the "Min current ADC step" value to zero.

Waynemarlow   10 kW

10 kW
Posts: 620
Joined: Jul 09 2016 7:22am
Location: Bucks, England

Re: TSDZ2 OSF for all displays, VLCD5-VLCD6-XH18, LCD3, 860C.

Post by Waynemarlow » Mar 02 2021 4:23pm

MBrusa, the error may well be on my part. I've just checked and in the LCD3 settings I have inadvertantly left the " startup assist " at 10 and not 0 which means I have had both Boost and startup assist enabled. I guess this is why any input to the peddle is so sensitive.

I've reset it and will try to see what the difference is in the next few days.

Thanks for all.

User avatar
jbalat   10 kW

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

Re: TSDZ2 OSF for all displays, VLCD5-VLCD6-XH18, LCD3, 860C.

Post by jbalat » Mar 02 2021 5:47pm

Alfie wrote:
Mar 02 2021 11:17am
Wow, this looks great. The low cadence performance on my 860c setup is far from ideal. Can't wait for the weekend to give it a go.

Anyone running it yet? What are your thoughts?
one word "Awesome" :bigthumb:
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

Rydon   100 W

100 W
Posts: 265
Joined: Aug 11 2016 5:26pm

Re: TSDZ2 OSF for all displays, VLCD5-VLCD6-XH18, LCD3, 860C.

Post by Rydon » Mar 02 2021 10:56pm

Alfie wrote:
Mar 02 2021 11:17am
Wow, this looks great. The low cadence performance on my 860c setup is far from ideal. Can't wait for the weekend to give it a go.

Anyone running it yet? What are your thoughts?
mctubster wrote:
Mar 01 2021 6:39pm
Fantastic news! EMTB mode on Buba’s .20 was great. Almost like a torque start and then fade to power mode. Really miss it. If there is better motor responsiveness as well - the icing on the cake.
jbalat wrote:
Mar 02 2021 5:47pm
one word "Awesome" :bigthumb:
Forgive the American expression but Mbrusa "hit it out of the ballpark" with this one. Jeffpagerides and I have been testing this for several weeks now and so far it exceeds our best hopes for the OSF firmware. Regarding low cadence performance, that was never an issue with Buba's v0.20 firmware that this is built on. All of Buba's great features we worked on in 2019 are now on the 860C and 850C displays thanks to some great work by Mbrusa.

I guess those of you that stayed with the LCD3 or stock displays have enjoyed those features all along. It is really nice to now have a single code base that works with all of the popular displays being used with TSDZ2 OSF that contains all of the most important features. Mbrusa has added cool features of his own and rolled some of the best of Casainho's v1 enhancements back in as well.

I know others have been making contributions too but I have been gone from the forum for a while. So a big thanks to Casainho, Buba, Marcoq, and Mbrusa, and to all others of you who have likewise contributed. This release marks the culmination of many hard-won features and capabilities some of us have long hoped for. Thanks, Mbrusa for bringing it all together.

Blacklite   10 W

10 W
Posts: 73
Joined: Jan 30 2019 2:42am
Location: Brisbane

Re: TSDZ2 OSF for all displays, VLCD5-VLCD6-XH18, LCD3, 860C.

Post by Blacklite » Mar 03 2021 1:33am

Really excited to try this out. Have been looking at mspider65's improvements in v7 but didn't have a way to try them out as I have only an 860c display. Now I can - hopefully this weekend. Thankyou mbrusa, and mspider65!

w0utje   10 mW

10 mW
Posts: 34
Joined: Jan 12 2020 3:02am

Re: TSDZ2 OSF for all displays, VLCD5-VLCD6-XH18, LCD3, 860C.

Post by w0utje » Mar 03 2021 3:49am

Just tried it on the 750watts mtb, damn. Soo smooth and nice cadence range now. Used the boost option, will try that out when on the trails saturday. Feels very powerfull
Also installed it on the 500watt streetbike but I missed a setting quess, didnt feel as alive as the mtb did. Will look into that later.
The going from street mode to offroad mode e02 to e03 seems a little harder to do then the last fimrware?

mbrusa   1 kW

1 kW
Posts: 314
Joined: Dec 11 2019 12:13am

Re: TSDZ2 OSF for all displays, VLCD5-VLCD6-XH18, LCD3, 860C.

Post by mbrusa » Mar 03 2021 4:43am

w0utje wrote:
Mar 03 2021 3:49am
...
The going from street mode to offroad mode e02 to e03 seems a little harder to do then the last fimrware?
It is no longer difficult, it is different, the parameters are always enabled / disabled in the same menu position.
Read the manual well, EN-Operating_manual_of _display-TSDZ2-v20.1C for stock displays.
At level 1, Street / Offroad always changes with E02 / E02 flashing, while with E03 / E03 flashing, "Startup boost" is enabled / disabled.
When editing a parameter, in addition to the code to identify it, the status of the parameter is now also displayed.
The first time the light button is pressed (on), the current status is displayed, the second time (off) and with a flashing code, the new changed status is displayed.
With XH18, the code and status are in two different fields and therefore are displayed at the same time.
With VLCD5 / 6, the code and status alternate as they are displayed in the same speed field.

w0utje   10 mW

10 mW
Posts: 34
Joined: Jan 12 2020 3:02am

Re: TSDZ2 OSF for all displays, VLCD5-VLCD6-XH18, LCD3, 860C.

Post by w0utje » Mar 03 2021 6:59am

Let me check: So at setting 1, push the light button twice to enable offroad mode and then it blinks after 5 seconds to confirm and if I push the light button once it just turns the light on?
With parameters enabled at start on a vlcd5
"Choice of Street /Off-Road mode
Street mode, it is enabled/disabled at level 1, by setting E02 - STREET MODE, lights button twice until E02
flashing.
It is a function that can be configured as a legal driving mode, it is possible to limit the speed and power of
the engine. "
"Usage. Choose the level (item in the main menu), the first time the lights key (on) is pressed, a code is
displayed which, combined with the selected level, identifies the parameter to be modified.
By pressing the lights button a second time (off) within 5 seconds, the change is confirmed and the code
flashes.
At this point you still have 5 seconds while the code flashes, to pass to the next parameter, again by
pressing the lights button. In this case the previous modification is ignored, otherwise at the end of the 5
seconds with a flashing code, the modification is confirmed. "

ahagge   1 mW

1 mW
Posts: 14
Joined: Sep 15 2013 9:57am
Location: Northridge, CA

Re: TSDZ2 OSF for all displays, VLCD5-VLCD6-XH18, LCD3, 860C.

Post by ahagge » Mar 03 2021 12:38pm

I'm contemplating a TSDZ2 purchase to use with this great firmware, and I have a question about the 860C display version:

Do user-modified settings remain intact if the firmware is updated to a newer version?

Unless I'm missing something, it seems like it would be a HUGE chore to have to go into each and every setting and check/set it every time you do a firmware update.

w0utje   10 mW

10 mW
Posts: 34
Joined: Jan 12 2020 3:02am

Re: TSDZ2 OSF for all displays, VLCD5-VLCD6-XH18, LCD3, 860C.

Post by w0utje » Mar 03 2021 2:59pm

Most settings u can change in the configurator so u upload that to the motor and display, so no need to change a lot manually on the display.

HughF   100 W

100 W
Posts: 254
Joined: Jan 23 2020 6:13pm
Location: Dorset, England

Re: TSDZ2 OSF for all displays, VLCD5-VLCD6-XH18, LCD3, 860C.

Post by HughF » Mar 03 2021 5:27pm

I found my old VLCD6 (and KT-LCD3 actually, that I never used) so I will try this soon.
Genesis iOiD Alfine8 Hard tail MTB, 36v TSDZ2, 13s battery, SW102 display
Raleigh reynolds road frame from the 80's, 36v TSDZ2, 13s battery, SW102 display, 1x10 drivetrain, gravel tyres

Waynemarlow   10 kW

10 kW
Posts: 620
Joined: Jul 09 2016 7:22am
Location: Bucks, England

Re: TSDZ2 OSF for all displays, VLCD5-VLCD6-XH18, LCD3, 860C.

Post by Waynemarlow » Mar 03 2021 5:35pm

Put the time into the LCD3, you won't be disappointed.

ahagge   1 mW

1 mW
Posts: 14
Joined: Sep 15 2013 9:57am
Location: Northridge, CA

Re: TSDZ2 OSF for all displays, VLCD5-VLCD6-XH18, LCD3, 860C.

Post by ahagge » Mar 03 2021 8:00pm

w0utje wrote:
Mar 03 2021 2:59pm
Most settings u can change in the configurator so u upload that to the motor and display, so no need to change a lot manually on the display.
Thank you for the reply, but from what I have read, it appears that the 850C & 860C doesn't use the configurator. The firmware files are pre-built.

Am I incorrect? Can someone with an 850C/860C display confirm one way or the other?

Thanks!

Blacklite   10 W

10 W
Posts: 73
Joined: Jan 30 2019 2:42am
Location: Brisbane

Re: TSDZ2 OSF for all displays, VLCD5-VLCD6-XH18, LCD3, 860C.

Post by Blacklite » Mar 03 2021 9:43pm

I have an 860c, haven’t loaded this new firmware yet. Am running 1.1.0 currently. I’m expecting to have to reset parameters, as the as the firmwares are quite different in their settings, and I think it would be safer to start from the defaults.

What I would say though is don’t think of firmware upgrades on a bike like that on a computer. The only reason to upgrade or change is if a major advancement in efficiency or response has been made, or you are interested in experimenting. Do you upgrade the firmware on your car or microwave or refrigerator often? If it works and you are happy with it why change it? It’s not like there are security concerns on a bike.

mbrusa   1 kW

1 kW
Posts: 314
Joined: Dec 11 2019 12:13am

Re: TSDZ2 OSF for all displays, VLCD5-VLCD6-XH18, LCD3, 860C.

Post by mbrusa » Mar 04 2021 2:55am

ahagge wrote:
Mar 03 2021 12:38pm
I'm contemplating a TSDZ2 purchase to use with this great firmware, and I have a question about the 860C display version:

Do user-modified settings remain intact if the firmware is updated to a newer version?

Unless I'm missing something, it seems like it would be a HUGE chore to have to go into each and every setting and check/set it every time you do a firmware update.
It depends on the changes, yes in case the data structure in eeprom has changed, but it is unlikely in the short term.
Otherwise with any other modification, the user data remains intact.
But don't worry, once you have mastered the parameters, with the 860C it only takes 2 minutes to set them up.
w0utje wrote:
Mar 03 2021 2:59pm
Most settings u can change in the configurator so u upload that to the motor and display, so no need to change a lot manually on the display.
The configurator is used only with the stock displays, VLCD5, VLCD6, XH18.
With LCD3 and 860C the configuration of the parameters is done on the display.

w0utje   10 mW

10 mW
Posts: 34
Joined: Jan 12 2020 3:02am

Re: TSDZ2 OSF for all displays, VLCD5-VLCD6-XH18, LCD3, 860C.

Post by w0utje » Mar 04 2021 3:57am

Using hybrid mode at the moment, going for a ride saturday to try it out. But I was used to e-mbt mode on de 750watts en then I had half of the assistance on stock setting 1 ( was 6 went to 3 ) en the setting that stock on 1 (6) I had that on assistance level 2 (instead of 9 I believe).
Is there a way to make the hybrid mode less powerfull in assistance settings 1 and 2? If i change the power in powermode en torque mode will that affect the selected hybride mode?
Cause hybrid setting 1 feels like the old emtb 3 mode on setting 9, its soo fast. Need a little less assistence on 1 and 2 :mrgreen:

Post Reply