Tsdz2 firmware open source adapted to vlcd5

Electric Motors and Controllers
User avatar
ashrambo   1 W

1 W
Posts: 53
Joined: Apr 30 2018 4:31am
Location: Madrid
Contact:

Re: Tsdz2 firmware open source adapted to vlcd5

Post by ashrambo » Aug 04 2019 3:20am

I post about this firmware in my blog...

Ashthinkings

https://ashthinkings.blogspot.com

It's in spanish, yo can use google traslator...


Enviado desde mi SM-G510 mediante Tapatalk


TREK REMEDY MOTOR TSDZ2

User avatar
stancecoke   100 kW

100 kW
Posts: 1019
Joined: Aug 02 2017 2:56pm

Re: Tsdz2 firmware open source adapted to vlcd5

Post by stancecoke » Aug 04 2019 4:45am

ashrambo wrote:
Aug 04 2019 3:20am
I post about this firmware in my blog...
Thank you, I've added the link to the wiki (will open in english already :-))
Atrihalov wrote:
Aug 03 2019 11:09pm
Write how to run the configurator on windows?
See step 5: Start the java tool by double-clicking on "TSDZ2-Configurator.jar"
BeachRider2016 wrote:
Aug 03 2019 8:01pm
I did a quick compile and this showed up....
Do you have any parentheses in one of the folder pathes? Are you using the lastest SDCC version?
Expand the repo directly to C:\ to avoid trouble with write permissions.

regards
stancecoke

eetulaa   1 µW

1 µW
Posts: 3
Joined: Aug 04 2019 9:23am

Re: Tsdz2 firmware open source adapted to vlcd5

Post by eetulaa » Aug 04 2019 10:05am

Hi, I have couple of questions about marcoq:s configurator:

How are the 3 first values on battery section used and what they really are:
safety max battery current limit amp
max battery power
max current source Amp

I have a 36v 11 ah battery that can output 20a continous and 30a peak current.
Is the max_battery_current_source a continous current limit and safety_max_current a peak limitation value?
Are the max_battery_power and max_current_source values used as a parallel limit as the first one that is reached will limit the power used?

Would it be safe to input safety_max_current_limit value to 25a and current_source to 18a and max_power to 650w?
If i then untick the "limit motor boost to max power" Will the motor draw current over 18a only on a starting power boost sitatuation?
As i have the vlcd5 i don't see the used current when driving the bike and i want to make sure i wont fry the battery or my motor.

Thanks for your help and this great project on improving the usage of tsdz!

User avatar
elem   100 W

100 W
Posts: 135
Joined: May 26 2017 4:27pm
Location: alpes maritimes
Contact:

Re: Tsdz2 firmware open source adapted to vlcd5

Post by elem » Aug 04 2019 11:02am

Posted a small upgrade " how to " concerning v0.19 and configurator V3.16 ... in french on my blog .

https://elementaire01.blogspot.com/2019 ... -v019.html

will update it later with the set up found after some tests ..
seem my set up is ok with a stock 42 T ... probably too strong for those using a smaller 32T/34T and large K7 .

will put update when i ll test v3.6 with my other bike using 34T and 11/40 ...

actually testing casainho/buba v0.19 OSF, soo will take some time to pmut news on my blog .
RockRider 9.1 TSDZ2 open source firmware .

User avatar
elem   100 W

100 W
Posts: 135
Joined: May 26 2017 4:27pm
Location: alpes maritimes
Contact:

Re: Tsdz2 firmware open source adapted to vlcd5

Post by elem » Aug 04 2019 11:08am

eetulaa wrote:
Aug 04 2019 10:05am

How are the 3 first values on battery section used and what they really are:
safety max battery current limit amp
max battery power
max current source Amp

I have a 36v 11 ah battery that can output 20a continous and 30a peak current.
Is the max_battery_current_source a continous current limit and safety_max_current a peak limitation value?
Are the max_battery_power and max_current_source values used as a parallel limit as the first one that is reached will limit the power used?

Would it be safe to input safety_max_current_limit value to 25a and current_source to 18a and max_power to 650w?
If i then untick the "limit motor boost to max power" Will the motor draw current over 18a only on a starting power boost sitatuation?
As i have the vlcd5 i don't see the used current when driving the bike and i want to make sure i wont fry the battery or my motor.

Thanks for your help and this great project on improving the usage of tsdz!
as controler inboard is limited to 18 A the max limit you can put on "safety max battery current limit amp" is 18 .
"max battery power" is the max power you would use from battery, i use 550w, the motor could reach 750w or more, but need to pay attention to overburn it ...
"max current source Amp" is the max current you want to use with your set up ( limited from point 1 to 18A max ) i use 15A with a 11S battery

soo the motor never overcome the 18A limit even if you put 25A in max current ...
Last edited by elem on Aug 04 2019 12:06pm, edited 1 time in total.
RockRider 9.1 TSDZ2 open source firmware .

User avatar
stancecoke   100 kW

100 kW
Posts: 1019
Joined: Aug 02 2017 2:56pm

Re: Tsdz2 firmware open source adapted to vlcd5

Post by stancecoke » Aug 04 2019 11:34am

elem wrote:
Aug 04 2019 11:02am
Posted a small upgrade " how to " concerning v0.19 and configurator V3.16 ... in french on my blog .
OK, the information about marcoq's fork seems to be scattered all over the internet :-)

I added the link to the github wiki to bundle all information at one place :idea:

https://github.com/stancecoke/TSDZ2-Sma ... splay/wiki

regards
stancecoke

BeachRider2016   100 W

100 W
Posts: 136
Joined: Jul 13 2016 10:42am
Location: North Carolinas

Re: Tsdz2 firmware open source adapted to vlcd5

Post by BeachRider2016 » Aug 04 2019 8:00pm

BeachRider2016 wrote:
Aug 03 2019 8:01pm
I did a quick compile and this showed up....
Do you have any parentheses in one of the folder pathes? Are you using the lastest SDCC version?
Expand the repo directly to C:\ to avoid trouble with write permissions.

regards
stancecoke
I re-install the lastest SDCC version from your github page and its working again :mrgreen:
:bigthumb:

emr   100 mW

100 mW
Posts: 37
Joined: Apr 22 2018 5:37am

Re: Tsdz2 firmware open source adapted to vlcd5

Post by emr » Aug 11 2019 1:06am

On this page (Qmarco Git Hub page)...
https://github.com/qmarco/TSDZ2-Smart-E ... D6-display
it mentions...
by clicking the "help" button, a pdf document will open. It contains information regarding the user interface parameters and addresses related to eeprom memory.
I am unable to locate a 'Help' button in the configurator, or any pdf in the downloaded folders. Any suggestions?

emr   100 mW

100 mW
Posts: 37
Joined: Apr 22 2018 5:37am

Re: Tsdz2 firmware open source adapted to vlcd5

Post by emr » Aug 11 2019 4:53am

emr wrote:
Aug 11 2019 1:06am
On this page (Qmarco Git Hub page)...
https://github.com/qmarco/TSDZ2-Smart-E ... D6-display
it mentions...
by clicking the "help" button, a pdf document will open. It contains information regarding the user interface parameters and addresses related to eeprom memory.
I am unable to locate a 'Help' button in the configurator, or any pdf in the downloaded folders. Any suggestions?
Ok, answered my own question...

I looked in a previous version of the configurator (v16) and it has a 'Help' button and connected pdf.

wpenner   10 W

10 W
Posts: 92
Joined: May 10 2018 3:27pm

Re: Tsdz2 firmware open source adapted to vlcd5

Post by wpenner » Aug 15 2019 4:45pm

So once i get my temperature sensor and limits set to under 80c. Is there any reason to not program the controller for 18amps battery and 9000w motor limit? Thinking that would run at 900watts or so when temperature is low. Currently have it set to 14amps battery and 500w motor limit limit, as to not burn up my motor.

I think I've read 18amps is the max for this controller and guessing that is set with the battery amps value.

User avatar
elem   100 W

100 W
Posts: 135
Joined: May 26 2017 4:27pm
Location: alpes maritimes
Contact:

Re: Tsdz2 firmware open source adapted to vlcd5

Post by elem » Aug 17 2019 3:17pm

Yes no problm, 18A is the limit, 900w, why not ;)

for short burn like a few seconds ...

but you never reach this power if you are using 36V battery
900w = 18(A)*50(V) soo you need at least a 48V battery fully charged to reach this power limit ....
RockRider 9.1 TSDZ2 open source firmware .

Atrihalov   1 mW

1 mW
Posts: 12
Joined: Nov 14 2017 1:30am

Re: Tsdz2 firmware open source adapted to vlcd5

Post by Atrihalov » Aug 22 2019 7:51am

Hello. It was sewn through the configurator and according to the sensations the ride became not comfortable. The motor drives inadequately, it helps sometimes it interferes and pedaling is difficult. The throttle stick has ceased to be infinitely jerky. As a result, I will return to the original firmware (36V, 350W) and enjoy the ride.

eetulaa   1 µW

1 µW
Posts: 3
Joined: Aug 04 2019 9:23am

Re: Tsdz2 firmware open source adapted to vlcd5

Post by eetulaa » Aug 23 2019 9:07am

Hi, does the experimental cadence mode affect the way the motor is controlled on lower rpm than normal max?
Does it only raise the assisted cadence limit, or what it does?

btslo   100 mW

100 mW
Posts: 49
Joined: Apr 17 2019 8:55am

Re: Tsdz2 firmware open source adapted to vlcd5

Post by btslo » Aug 23 2019 10:18am

How do I enable eMTB with the display? I'm on assist 3 and hold the i button but no E codes turn on. ( I have XH18 display and set the display and eMTB mode in the configurator)

User avatar
elem   100 W

100 W
Posts: 135
Joined: May 26 2017 4:27pm
Location: alpes maritimes
Contact:

Re: Tsdz2 firmware open source adapted to vlcd5

Post by elem » Aug 23 2019 11:42am

eetulaa wrote:
Aug 23 2019 9:07am
Hi, does the experimental cadence mode affect the way the motor is controlled on lower rpm than normal max?
Does it only raise the assisted cadence limit, or what it does?
with experimental mode ( on 36V motor ) you can reach 100 rpm eand more

don t match with 48V motor ( tested with 0.19 and 0.20 form buba/casainho, not marcoq one )
RockRider 9.1 TSDZ2 open source firmware .

User avatar
elem   100 W

100 W
Posts: 135
Joined: May 26 2017 4:27pm
Location: alpes maritimes
Contact:

Re: Tsdz2 firmware open source adapted to vlcd5

Post by elem » Aug 23 2019 11:43am

btslo wrote:
Aug 23 2019 10:18am
How do I enable eMTB with the display? I'm on assist 3 and hold the i button but no E codes turn on. ( I have XH18 display and set the display and eMTB mode in the configurator)
if eMTb enabled from configurator, it work even if you haven t any symbol ( that features only avaiable on v0.20 using lcd3 display not vlcd5 or xh148 or vlcd6 using marcoq archive )
RockRider 9.1 TSDZ2 open source firmware .

Minatauro   10 mW

10 mW
Posts: 22
Joined: Dec 22 2018 5:59am

Re: Tsdz2 firmware open source adapted to vlcd5

Post by Minatauro » Aug 27 2019 2:46pm

Has anyone seen this happen before? It looks like something is trying to bust out of the case. It doesn't sound loose enough inside for it to break going over a bump?? It works and charges fine.
Attachments
IMG_20190827_202635_resize_82.jpg
IMG_20190827_202635_resize_82.jpg (207.64 KiB) Viewed 519 times

brobro   1 mW

1 mW
Posts: 11
Joined: Jul 12 2019 5:29am

Re: Tsdz2 firmware open source adapted to vlcd5

Post by brobro » Aug 28 2019 4:32pm

Guys could you explain or give a link about the assistant modes?

So we have:

1. Street mode or Offroad mode
2. Boost mode off / on
3. Emtb mode off / on ( what mode it will be if i turn it off, it is default in my java configurator )


On my feelings street mode gives more power. But i tested all the modes with middle gear, middle cadence and flat road.

Boost and offroad modes didnt feels powerfull. Strange.

Emtb mode is something in the middle.

Here is my java configurator settings, i just copied everything from ashrambo blog ( big thanks for your shares and explanation of the settings :thumb: )

Image

User avatar
elem   100 W

100 W
Posts: 135
Joined: May 26 2017 4:27pm
Location: alpes maritimes
Contact:

Re: Tsdz2 firmware open source adapted to vlcd5

Post by elem » Aug 29 2019 12:34pm

When street mode enabled ( and activated ) it limit motor power to default 250W and speed to default 25km/h .

Boost mode can't be desactivated ...you choose " when cadence=0 or speed=0 " only, you can disable boost power limit or modifie it in concerned " motor power boost " .

eMTb default, mean you use eMTb mode ( kind of torque mode only ) and can modifie "eMTb mode " as desired .
disabled it mean you use "power mode " instead other mode .

" PWM duty cycle " is acceleration, and also in : current ramp, witch is an other kind of acceleration .

Soo, you'r using 14S battery ( 58.8V max ) and max power possible 1000w .

pay attention, you may burn you'r motor if you'r not using sensor temp, exepted if this power is only used in a few second .

here is my set up ( attached picture ) and my blog with some explanations ( in french ) : https://elementaire01.blogspot.com/2019 ... -v019.html
config active aout 2019.jpg
config active aout 2019.jpg (422.05 KiB) Viewed 445 times
RockRider 9.1 TSDZ2 open source firmware .

arkanum   10 µW

10 µW
Posts: 5
Joined: Aug 30 2019 9:47am

Re: Tsdz2 firmware open source adapted to vlcd5

Post by arkanum » Aug 30 2019 9:59am

Hi,

i'm following this and the developing thread of the OS fw for a while now. Installed both versions, Casahino/Bubas and Marcoqs, several times ... all very smooth.

Now my girlfriend wants to compare os to the stock FW. But i cant reflash the controller.
I got the files from https://www.eco-ebike.com/blogs/eco-cy ... rogramming and followed the instructions. the motor is 36V with the XH18 display.

Programming via the marcoq configurator works fine ...

Anyone knows any TRICKS to reinstall the stock firmware??

thanks,
ark

arkanum   10 µW

10 µW
Posts: 5
Joined: Aug 30 2019 9:47am

Re: Tsdz2 firmware open source adapted to vlcd5

Post by arkanum » Aug 30 2019 10:39am

to be more precise .. :roll:

no error code is shown on the display. it works, lights on, battery state is low (wrong) and flickering and no speed is displayed. and the motor is not working.

btslo   100 mW

100 mW
Posts: 49
Joined: Apr 17 2019 8:55am

Re: Tsdz2 firmware open source adapted to vlcd5

Post by btslo » Aug 30 2019 11:07am

arkanum wrote:
Aug 30 2019 10:39am
to be more precise .. :roll:

no error code is shown on the display. it works, lights on, battery state is low (wrong) and flickering and no speed is displayed. and the motor is not working.
You need to also flash the stock option byte: viewtopic.php?t=93818&start=1600#p1438745

wpenner   10 W

10 W
Posts: 92
Joined: May 10 2018 3:27pm

Re: Tsdz2 firmware open source adapted to vlcd5

Post by wpenner » Aug 30 2019 1:27pm

brobro wrote:
Aug 28 2019 4:32pm
Guys could you explain or give a link about the assistant modes?

So we have:

1. Street mode or Offroad mode
2. Boost mode off / on
3. Emtb mode off / on ( what mode it will be if i turn it off, it is default in my java configurator )


On my feelings street mode gives more power. But i tested all the modes with middle gear, middle cadence and flat road.

Boost and offroad modes didnt feels powerfull. Strange.

Emtb mode is something in the middle.

Here is my java configurator settings, i just copied everything from ashrambo blog ( big thanks for your shares and explanation of the settings :thumb: )

Image
You are running 18amps/1000Watts with temperature sensor installed?

wpenner   10 W

10 W
Posts: 92
Joined: May 10 2018 3:27pm

Re: Tsdz2 firmware open source adapted to vlcd5

Post by wpenner » Aug 30 2019 1:30pm

elem wrote:
Aug 17 2019 3:17pm
Yes no problm, 18A is the limit, 900w, why not ;)

for short burn like a few seconds ...

but you never reach this power if you are using 36V battery
900w = 18(A)*50(V) soo you need at least a 48V battery fully charged to reach this power limit ....
OK, will try soon. In winter I usually ride around -10 Celsius summer +26 Celsius, so I think I should be able to get quite a bit more power out of it in the Winter time.

Will settings the motor watts to 9999Watts cause any issues?

User avatar
elem   100 W

100 W
Posts: 135
Joined: May 26 2017 4:27pm
Location: alpes maritimes
Contact:

Re: Tsdz2 firmware open source adapted to vlcd5

Post by elem » Aug 30 2019 1:46pm

wpenner wrote:
Aug 30 2019 1:30pm

Will settings the motor watts to 9999Watts cause any issues?
Dont thinck soo, but there is no need .
14s fully charged is 58.8v, 18A is the max controleur, soo 58*18=1044 will be about the max power .
RockRider 9.1 TSDZ2 open source firmware .

Post Reply