new tsdz8 pswpower

I have read so many instructions that I'm little bit confused. But now I think it's clear.
I flashed two files to controller and VLCD5 display opens. Motor is on the table. I turn the crank but I do not feel response.
I will continue.

One of the test I make ont the table is the following:
- in the configurator, I select the assist mode cadence as the mode activated at power up.
- I flash the configuration.
- I turn manually the axis with the pedal.
- the motor starts running.
- if I hold the axis with the pedal, the motor stops.

Note: when I test on the table the speed sensor is not connected. The result is that the motor stop running after about 10 sec.
This is a security in the firmware (like in OSF TSDZ2). You have to power off to try again.

If the speed sensor is connected and provides a regular signal, then motor should not stop.

I also tested with the throttle. To use it, it must be activated in the configurator (there are several options in several fields).
 
One of the test I make ont the table is the following:
- in the configurator, I select the assist mode cadence as the mode activated at power up.
- I flash the configuration.
- I turn manually the axis with the pedal.
- the motor starts running.
- if I hold the axis with the pedal, the motor stops.

Note: when I test on the table the speed sensor is not connected. The result is that the motor stop running after about 10 sec.
This is a security in the firmware (like in OSF TSDZ2). You have to power off to try again.

If the speed sensor is connected and provides a regular signal, then motor should not stop.

I also tested with the throttle. To use it, it must be activated in the configurator (there are several options in several fields).
Thank you I will try that. I will not install motor on bike because I'm waiting smaller chain ring and spider. I cannot test throttle because I never have used it and I ordered TSDZ8 with 860C display and connectors do not fit to my old VLCD5 display.

Which button activate walk mode on VLCD display?
 
Thank you I will try that. I will not install motor on bike because I'm waiting smaller chain ring and spider. I cannot test throttle because I never have used it and I ordered TSDZ8 with 860C display and connectors do not fit to my old VLCD5 display.

Which button activate walk mode on VLCD display?
Walk mode is pressing "-" for several seconds. It walk mode is enabled in configuration, motor should start running and stop when you release the "-" button
 
I have read so many instructions that I'm little bit confused. But now I think it's clear.
I flashed two files to controller and VLCD5 display opens. Motor is on the table. I turn the crank but I do not feel response.
I will continue.
If you are trying to check the motor without a chain and resistance to the torque sensor, the assist may not work because there is no impulse from the torque sensor. To check reliably, you must install a set so that there is resistance to the torque sensor.
 
If you are trying to check the motor without a chain and resistance to the torque sensor, the assist may not work because there is no impulse from the torque sensor. To check reliably, you must install a set so that there is resistance to the torque sensor.
This is true behalve for walk assist and cadence assist mode. Those 2 modes do not use the torque sensor.
 
Walk mode is pressing "-" for several seconds. It walk mode is enabled in configuration, motor should start running and stop when you release the "-" button
Yes, I will try on cadence mode on the table. I like most torque mode when I use TSDZ2 or TSDZ2B,
 
I can confirm my TSDZ8 is working with @mstrens OSF on the table on cadence mode. Turning motor by crank makes motor spinning and walk assist is working too by pushing -button :)
 
I just made an update on github.

There is no change in the TSDZ8 firmware itself.
I only removed all files related to the javaconfigurator because mbrusa made changes in the TSDZ2 version in order to support both types of motors (TSDZ2 and TSDZ8).
The purpose was to have only one version of the configurator to maintain in the future.

I updated the TSDZ8 readme section. So please look at it to know how to proceed now.
 
I just made an update on github.

There is no change in the TSDZ8 firmware itself.
I only removed all files related to the javaconfigurator because mbrusa made changes in the TSDZ2 version in order to support both types of motors (TSDZ2 and TSDZ8).
The purpose was to have only one version of the configurator to maintain in the future.

I updated the TSDZ8 readme section. So please look at it to know how to proceed now.
Is it good idea to put your github link to your signature?
 
I just made an update on github.

There is no change in the TSDZ8 firmware itself.
I only removed all files related to the javaconfigurator because mbrusa made changes in the TSDZ2 version in order to support both types of motors (TSDZ2 and TSDZ8).
The purpose was to have only one version of the configurator to maintain in the future.

I updated the TSDZ8 readme section. So please look at it to know how to proceed now.
I just want to confirm, that new java script working without problems and generate hex to tsdz8 after choosing tsdz8:) Tomorrow I will test how it rides, today I uploaded and checked that the assistance works and the throttle works. In previous versions I made several attempts at different settings, sometimes it happened that it generated some hex file that was wrong and did not show the battery level, the assistance and throttle did not work either, re-generating helped (I do not know what exactly caused this error but I did not exceed the maximum value), regardless of the settings in power mode, the uneven work of the engine was noticeable, f.e in cadence mode was better. I do not know yet how it is in this latest version, but I'll let you know. Thanks again Mstrens
 
I just want to confirm, that new java script working without problems and generate hex to tsdz8 after choosing tsdz8:) Tomorrow I will test how it rides, today I uploaded and checked that the assistance works and the throttle works. In previous versions I made several attempts at different settings, sometimes it happened that it generated some hex file that was wrong and did not show the battery level, the assistance and throttle did not work either, re-generating helped (I do not know what exactly caused this error but I did not exceed the maximum value), regardless of the settings in power mode, the uneven work of the engine was noticeable, f.e in cadence mode was better. I do not know yet how it is in this latest version, but I'll let you know. Thanks again Mstrens
In the first version of the java configurator I made, there was an error and the parameters generated in the Hex file were not in the right sequence. So the result could be unpredictable. This bug should now be fixed with the version made by mbrusa and avalaible on TSDZ2 github site.
 
In the first version of the java configurator I made, there was an error and the parameters generated in the Hex file were not in the right sequence. So the result could be unpredictable. This bug should now be fixed with the version made by mbrusa and avalaible on TSDZ2 github site.
Now .hex file made by java configurator goes to TSDZ2-Smart-EBike-1 files_to_flash folder.
 
After the first riding tests, I can confirm that everything works quite well, although it is not yet the smoothness of tsdz2 osf (maybe it is still a matter of settings). Java script creates hex files without errors. Thanks for your work Mstrens and Mbrusa
 
After the first riding tests, I can confirm that everything works quite well, although it is not yet the smoothness of tsdz2 osf (maybe it is still a matter of settings). Java script creates hex files without errors. Thanks for your work Mstrens and Mbrusa
Sounds very promising! Maybe I will try it this or next week with my motor. How does it feel compared to the OG tsdz8 firmware?
 
Hello,
With the OSF firmware, is it possible to change the response time of the assistance? I find this delay too long whether at startup or stop.
 
Hello,
With the OSF firmware, is it possible to change the response time of the assistance? I find this delay too long whether at startup or stop.
I suggest that you ask this question to mbrusa that developped OSF for TSDZ2. You can open an issue or a discussion on his site:
For TSDZ8, I try to align on the TSDZ2 version (it is easier for maintenance)
 
my observations after many attempts at different settings, after uploading osf the engine is not able to exceed max 15.9A (measured with external amperometer) neither from the throttle nor from the pedals, despite settings e.g. 19A, 20A or 23A, and power settings e.g. 900-1300W (bms I have 35A). Unfortunately the engine jerks especially in power mode, a little less in hybrid, the least in cadence but unfortunately I can feel jerking/holding, sometimes there is an error in cadence mode e04 or e08 mode which disappears after reset. The hex file is generated by java script rather without errors, only once did an incorrect hex happen to me. I also tested today with the new version updated by Mstrens hex 005, but the feeling of jerky support and the feeling as if something was holding is still there (I have street mode turned off). After uploading the original Test3.0 software, the engine works normally. If anyone has a proven hex or settings that make the ride smooth, I'd be happy to test it. Thanks again Mstrens/Mbrusa, I'll keep trying to find what's causing the jerking.
 
Last edited:
my observations after many attempts at different settings, after uploading osf the engine is not able to exceed max 15.9A (measured with external amperometer) neither from the throttle nor from the pedals, despite settings e.g. 19A, 20A or 23A, and power settings e.g. 900-1300W (bms I have 35A). Unfortunately the engine jerks especially in power mode, a little less in hybrid, the least in cadence but unfortunately I can feel jerking/holding, sometimes there is an error in cadence mode e04 or e08 mode which disappears after reset. The hex file is generated by java script rather without errors, only once did an incorrect hex happen to me. I also tested today with the new version updated by mstrens hex 005, but the feeling of jerky support and the feeling as if something was holding is still there (I have street mode turned off). After uploading the original Test3.0 software, the engine works normally. If anyone has a proven hex or settings that make the ride smooth, I'd be happy to test it. Thanks again Mstrens/Mbrusa, I'll keep trying to find what's causing the jerking.

TSDZ8 version uses currently a hardcoded internal parameter "ADC_10_BIT_BATTERY_CURRENT_MAX" limitting the current to 18A.
This is the value fixed in TSDZ2.
I can easily increase it for TSDZ8 but I would first like to know if the current measured by the firmware matches the real current measured with an external amperemeter. So could you provide the current calculated by the firmware and the real current at the same moment. The calculated current can be displayed if you select option 3 (battery current) in one of the 6 fields in the javaconfigurator in display advanced settings. If you also put the "Time to diplayed data" to 0, the field will remain on the display and should make the comparison easier.

If you feel jerking also in cadence mode, then it is not related to the torque sensor because torque sensor values are not used in this mode. Perhaps it is the foc_multiplier parameter that is not good for this motor.


Error 04 occurs when the measured current exceeds 3A and ERPS ( electric rotations per second) is less than 20 for more than 1 sec. I just noticed that I would have to change 20 by 10 because TSDZ8 has a lower ERPS (it uses 4 poles instead of 10).

Error 08 is more difficult to explain because the code depends on the display being used (and for some if it is blinking or not). Could you say which display is defined in your configuration (javaconfigurator).
 
T
TSDZ8 version uses currently a hardcoded internal parameter "ADC_10_BIT_BATTERY_CURRENT_MAX" limitting the current to 18A.
This is the value fixed in TSDZ2.
I can easily increase it for TSDZ8 but I would first like to know if the current measured by the firmware matches the real current measured with an external amperemeter. So could you provide the current calculated by the firmware and the real current at the same moment. The calculated current can be displayed if you select option 3 (battery current) in one of the 6 fields in the javaconfigurator in display advanced settings. If you also put the "Time to diplayed data" to 0, the field will remain on the display and should make the comparison easier.

If you feel jerking also in cadence mode, then it is not related to the torque sensor because torque sensor values are not used in this mode. Perhaps it is the foc_multiplier parameter that is not good for this motor.


Error 04 occurs when the measured current exceeds 3A and ERPS ( electric rotations per second) is less than 20 for more than 1 sec. I just noticed that I would have to change 20 by 10 because TSDZ8 has a lower ERPS (it uses 4 poles instead of 10).

Error 08 is more difficult to explain because the code depends on the display being used (and for some if it is blinking or not). Could you say which display is defined in your configuration (javaconfigurator).
Thanks for the detailed explanation, I admire the scope of your knowledge. In the next few days I will compare the current measured by the amperemeter and the current measured from the tsdz8 system and let you know. I have tested now with xh18 and a little with ekd 01 but I have almost all available displays (I have vlcd5, 850c version of tsdz, 850 and 860c osf, sw102 with osf and without osf) so that I can compare if you want I also have bt modules based on projects by mspider65 and the apk and bt wireless module by casainho and versions with casainho screens for tsdz2 so that I can test what is needed.
 
Back
Top